LastPageButtonClicked Event (Window Object)

Sample Code - LastPageButtonClicked Event

The LastPageButtonClicked event occurs when the button, that navigates through the report to the last page, is clicked.

Syntax

Event LastPageButtonClicked (useDefault As Boolean)

Parameter

useDefault

Specifies Boolean value indicating whether the default settings should be used. Assign useDefault = FALSE if not using default behavior defined in CPEAUT (that is, if you do not want to go to the last page).

Remarks

Before enabling this event, the HasNavigationControls property of the PrintWindowOptions Object, must be set to TRUE. This event is enabled by using the PrintWindowButtonEnabled property of the EventInfo Object, obtained through the EventInfo property of the Report Object. For more information, see Object Model Events.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com